/**
 * ---------------------------------------------------------------------
 * GLPI - Gestionnaire Libre de Parc Informatique
 * Copyright (C) 2015-2018 Teclib' and contributors.
 *
 * http://glpi-project.org
 *
 * based on GLPI - Gestionnaire Libre de Parc Informatique
 * Copyright (C) 2003-2014 by the INDEPNET Development Team.
 *
 * ---------------------------------------------------------------------
 *
 * LICENSE
 *
 * This file is part of GLPI.
 *
 * GLPI is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * GLPI is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with GLPI. If not, see <http://www.gnu.org/licenses/>.
 * ---------------------------------------------------------------------
 */

body.page-login {

   #firstboxlogin {
      width: 100%;
      min-height: 100%;
      min-height: 100vh;
      /* double min-height, some old browser don't have vh units support*/
   }

   #logo_login {
      padding: 80px 0 0;
      margin: 0 auto 0;
      height: 76px;
      box-sizing: unset;
   }

   #display-login, #text-login {
      width: 100%;
      margin: 0 auto;
      padding: 20px 20%;
      font-size: 13px;
      text-align: center;
      overflow-x: hidden;
      overflow-y: auto;
      box-sizing: border-box;
   }

   #boxlogin {
      padding-top: 10px;
      bottom: 0;
      width: 20em;
      margin: 0 auto;
      .login_input {
         position: relative;
         margin: 15px auto 5px;
         width: 240px;
      }
      label {
         color: #FFF;
         font-size: 1.2em;
      }
      input {
         &:-webkit-autofill {
            box-shadow: 0 0 0px 1000px white inset;
            &:focus {
               box-shadow: 0 0 0px 1000px white inset;
            }
         }
         &.submit {
            margin-top: 20px;
            width: 100%;
            height: 30px;
            font-size: 1.3em;
         }
      }
      #forget {
         margin-top: 50px;
         color: #FFF;
         width: 100%;
         display: block;
         text-align: center;
      }
   }

   #footer {
      font-size: .85em;
      position: absolute;
      right: 10px;
      background-color: transparent;
      border: none;
      margin: 0;
      padding: 0;
      bottom: 15px;
      a {
         color: #FFF;
      }
   }

   /** Backport Auror */
   #firstboxlogin {
      background-color: #1B2F62;
   }

   #logo_login {
      background: url(/pics/login_logo_glpi.png) center no-repeat, #3A5693;
   }

   #display-login {
      color: #FFF;
   }

   #text-login {
      background-color: #3A5693;
      color: #FFF;
   }

   label {
      font-weight: normal;
   }
}
